package com.sxt.entity;

import java.util.Arrays;

public class Student {
	private int id;
	private String name;
	private int age;
	private String gender;
	private String birthday;
	private String[] favorite;
	private RGB rgb;

	public Student(int id, String name, int age, String gender,
			String birthday, String[] favorite, RGB rgb) {
		super();
		this.id = id;
		this.name = name;
		this.age = age;
		this.gender = gender;
		this.birthday = birthday;
		this.favorite = favorite;
		this.rgb = rgb;
	}

	public Student() {
		super();
	}

	public RGB getRgb() {
		return rgb;
	}

	
	public void setRgb(RGB rgb) {
		this.rgb = rgb;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String[] getFavorite() {
		return favorite;
	}

	public void setFavorite(String[] favorite) {
		this.favorite = favorite;
	}

	@Override
	public String toString() {
		return "Student [id=" + id + ", name=" + name + ", age=" + age
				+ ", gender=" + gender + ", birthday=" + birthday
				+ ", favorite=" + Arrays.toString(favorite) + ", rgb=" + rgb
				+ "]";
	}

}
